<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class GoodsHomeRelation extends Model
{
    protected $table = 'goods_home_relation';
    public $timestamps = false;

    /*关联商品表*/
    public function goodInfo(){
        return $this->hasOne('App\Models\Goods','id','good_id');
    }
}
